package services

type Metric struct {
	Token string
	Ip    string
}

type Result struct {
	Metric Metric
	Value  []interface{}
}

type Data struct {
	ResultType string
	Result     []Result
}

type RespJson struct {
	Status string
	Data   Data
}

type AliRespJson struct {
	Period string
	//StatusCode int32
	//RequestId  string
	//Success    bool
	//Data       string
	MaxNum  float64
	MaxTime int64
	//Datapoints Datapoints
}

type Datapoints struct {
	timestamp  int64
	instanceId string
	userId     int64
	Maximum    float64
}

// 复数
type Metrics struct {
	Token string
	Ip    string
}

type Results struct {
	Metric Metrics
	Values [][]interface{}
}

type Datas struct {
	ResultType string
	Result     []Results
}

type RespJsons struct {
	Status string
	Data   Datas
}
